﻿using PropertyChanged;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindows.Models.Devices
{
    public class RJ6901AParametersModel : INotifyPropertyChanged
    {

        [Description("编号")] public ushort Code { get; set; } = 9999;
        [Description("电压")] public double Voltage { get; set; }
        /// <summary>
        /// 电阻下限
        /// </summary>
        [Description("电阻下限")] public double RLower { get; set; }
        /// <summary>
        /// 电阻上限
        /// </summary>
        [Description("电阻上限")] public double RUpper { get; set; }

        [Description("延时时间")] public double DelayTime { get; set; } = 0;
        [Description("测试时间")] public double TestTime { get; set; } = 2;
   
        [DoNotNotify]
        public string UpdateName { get; set; }
        public DateTime UpdateTime { get; set; }
        [DoNotNotify]
        public bool IsBeingUsed { get; set; }

        public event PropertyChangedEventHandler? PropertyChanged;
    }
}
